<?php
//ob_start();
include("./config/config.php");
include("./common/dbconn.php");
//session_start();
//$adminId=$_SESSION["SESS_Admin"];

?>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr>
    <td width="4">&nbsp;</td>
    <td  colspan="2" align="center" valign="middle"><span class="style7"><strong><font size="+2">Welcome To Administrator Login </font></strong></td>
    <td width="4">&nbsp;</td>
  </tr>
  <tr>
    <td width="4">&nbsp;</td>
    <td colspan="2"><hr color="#3F68A0">
        </hr></td>
    <td width="4">&nbsp;</td>
  </tr>
  <tr>
    <td width="4">&nbsp;</td>
    <td width="28">&nbsp;</td>
    <td width="952">
		<form name="form1" method="post" action="index.php?area=admin&action=admin_login_action">
		<table width="100%" height="100%" border="0" bgcolor="#EEEEEE">
			<tr align="center">
				<td colspan="4" bgcolor="#999999">Please insert your ID &amp; Password.</td>
		  </tr>
			<tr>
				<td width="6%">&nbsp;</td>
				<td colspan="3" align="center">
				<?php
				$messAcc=$_GET['messAcc'];
				if($messAcc==1)
				{
					echo "<font color='red'><b>Invalid User Id Or Password </b></font>";
				}
				?>
				</td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td width="40%" align="right"><strong>User ID</strong></td>
				<td width="1%"><strong>:</strong></td>
				<td width="53%"><input type="text" name="adminId" value="<?php echo $adminId;?>"></td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td align="right"><strong>Password</strong></td>
				<td><strong>:</strong></td>
				<td><input type="password" name="adminPass" value="<?php echo $adminpass;?>"></td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td colspan="3" align="center">
			    <input type="submit" name="Submit" value="Submit"></td>
			</tr>
	  </table>
	  </form>	
	</td>
    <td width="4">&nbsp;</td>
  </tr>
</table>
